package com.samheos.netty.domain;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 文件分片指令
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class FileBurstInstruct {

    private Integer status;       //Constants.FileStatus ｛0开始、1中间、2结尾、3完成｝
    private String clientFileUrl; //客户端文件URL
    private Integer readPosition; //读取位置


    public FileBurstInstruct(Integer status) {
        this.status = status;
    }
}
